Configure Global LLDP Transmission Parameters

Before you begin

  • In the GigabitEthernet Interface Configuration mode, specify the LLDP port status as transmit only or transmit and receive.

About this task

Use this procedure to configure global LLDP transmission parameters on the switch. If required, you can also restore these parameters to their default values.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. To configure the LLDP transmission parameters, enter:

    lldp [tx-interval|tx-hold-multiplier]

  3. Optional: To restore specific LLDP transmission parameters to their default values, enter:

    default lldp [tx-interval|tx-hold-multiplier]

  4. Optional: To restore all LLDP transmission parameters to their default values, enter:

    default lldp

Example

Configure the LLDP transmission interval. The LLDP port status is set to transmit and receive prior to the configuration.

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#interface GigabitEthernet 1/4
Switch:1(config-if)#lldp status txAndRx
Switch:1(config-if)#exit
Switch:1(config)#lldp tx-interval 31

Optionally, restore the LLDP transmission interval to its default value:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#default lldp tx-interval

Variable Definitions

The following table defines parameters for the lldp command.

Variable

Value

tx-interval<5–32768>

Specifies the global LLDP transmit interval in seconds, that is, the interval in which LLDP frames are transmitted.

The default is 30 seconds.

tx-hold-multiplier <2–10>

Configures the multiplier for the transmit interval used to compute the Time To Live (TTL) value in LLDP frames.

The default is 4 seconds.